home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / Metrowerks.Help < prev    next >
Encoding:
Text File  |  1994-09-28  |  6.7 KB  |  126 lines  |  [TEXT/MPS ]

  1. Metrowerks MPW Tools Summaries
  2.  
  3. Copyright Metrowerks, Inc. 1994
  4.    All rights reserved.
  5.    
  6. -
  7. Metrowerks
  8.     Help summaries are available for each of the Metrowerks tools.
  9.     To see Help summaries, Enter a command such as
  10.     
  11.     Help MWCPPC            # Metrowerks C compiler for PPC
  12.     Help MWLinkPPC        # Metorwerks Linker for PPC
  13.     
  14. -
  15. MWCPPC            # Metrowerks C/C++ compiler for PowerPC
  16. MWCPPC [options…] [file]
  17.     -align power            # specify PowerPC alignment for data structures
  18.     -align mac68k           # specify 68K alignment for data structures
  19.     -align mac68k4byte      # specify 68K 4 byte alignment for data structures
  20.     -ansi off                # default
  21.     -ansi on|relaxed        # nonstandard keywords not excepted
  22.     -ansi strict            # -ansi relaxed and -enum int
  23.     -appleext on | off        # allow apple's keywords (defaults to on)
  24.     -c                      # syntax check only, don't create object file
  25.     -d name                 # (use -prefix for now) define a preprocessing symbol. Equivalent to #define name 1.
  26.     -d name=value           # (use -prefix for now) define a preprocessing symbol. Equivalent to #define name value.
  27.      -dialect c                # treat source as C
  28.     -dialect cplus          # treat source as C++
  29.     -dump filename            # precompile only, write precompiled header to filename
  30.     -e                        # preprocess only. print results on standard output.
  31.     -enum int               # use int-sized enumeration types
  32.     -enum min               # use minimum-sized enumeration types
  33.     -i directory            # search for include files in directory.
  34.     -inline on|all|none|off    # turn inlining on and off (all=on and none=off)
  35.     -jm                        # generates a warning and invokes -mpw_pointers
  36.     -load path                # load a precompiled header (or prefix a text file)
  37.     -ldsize 64                # sets the size of long doubles (For PowerPC only 64 bits is currently supported).
  38.     -mapcr                    # (defaults on) treat '\n' and '\r' exactly like MPW
  39.     -maxerrors number        # limit errors to number.
  40.     -mpw_pointers            # relax rules for pointers of the same basic type of the same size (char & unsigned char...)
  41.     -nomapcr                # for unix® compatiblity '\n' == linefeed, '\r' == return
  42.     -nosyspath              # treat <> like "" in #include directives
  43.     -notonce                # allow multiple copies of header files
  44.     -o filename             # write object code to filename or directory
  45.     -once                    # only read include files once.
  46.     -opt off                # suppress all optimizations
  47.     -opt option,option        # -opt options can be a list of the items below (-opt all,nopeep).
  48.     -opt [no]global         # enable global optimization and register allocation
  49.     -opt [no]peep           # enable peephole optimization
  50.     -opt [no]schedule       # enable instruction scheduling
  51.     -opt size               # optimize for size
  52.     -opt speed              # optimize for speed (default)
  53.     -p                      # write progress information to diagnostic
  54.     -precompile filename    # precompile only, write precompiled header to filename
  55.     -prefix filename        # automatically include filename before source file
  56.     -profile on|off         # enable/disable calls to profiler; default is "off"
  57.     -rostr                  # make string constants readonly
  58.     -strict on|off            # strict enforcement of source language dialect (strict == ARM)
  59.     -sym on|off             # enable/disable symbolic debugging information; default is "off"
  60.     -sym full                # this is the same as -sym on (for PPCC compatiblity)
  61.     -r[equireprotos]        # require function prototypes
  62.     -trigraphs on|off       # enable recognition of trigraphs; default is "off"
  63.     -w[arnings] opt1,opt2    # -opt options can be a list of the items below.
  64.         off                    # turn off all warnings
  65.         on                    # turn on warnings (except iserror)
  66.         full                # same as "all" (except iserror)
  67.         all                    # turn on all warnings
  68.         [no]pragmas            # warn on illegal pragmas
  69.         [no]emptydecl        # warn on empty declarations
  70.         [no]possible        # warn on possible errors
  71.         [no]unusedvar        # warn on unused variables
  72.         [no]unusedarg        # warn on unused arguments
  73.         [no]extracomma        # warn on extra commas
  74.         [no]extended        # even more possible problems
  75.         iserror                # treat warnings as errors.
  76. -
  77. MWLinkPPC        # Metrowerks Linker for PowerPC
  78.     -application            # this is default to on
  79.     -b                        # expand uninitialized storage
  80.     -c creator                # set output file creator; default is '????'
  81.     -cv num                    # set current version number
  82.     -coderesource            # builds a code resource
  83.     -d                        # no duplicate warnings
  84.     -dv num                    # Sets the definition number for import libraries.
  85.     -dead on|off            # (for compatiblity defaults on except for libraries)
  86.     -e name                    # same as -main
  87.     -export [none, all]        # export all symbols, export none
  88.     -@export filename        # Loads export symbols defined in the specified file.
  89.     -f filename                # Loads export list from filename
  90.     -fastlink on|off        # enable/disable faster linking; default is "on"
  91.                             #    (faster linking uses more memory)
  92.     -init name                # entry point for initialization routine (default for this is none)
  93.     -initbefore                # next library has the initbefore flag set to TRUE
  94.                             # it is the users responsiblity to insure that the
  95.                             # next file is a library.
  96.     -main name              # set entry point to name; default is "__start"
  97.     -map filename            # Put link map in specified filename
  98.     -o filename                # specify output filename
  99.     -osym filename            # symbolic file default (objectfilename.xSYM)
  100.     -p                        # progress information
  101.     -rsrcflags list            # set the flags on the generated resource
  102.                             # list of [system, purgeable, locked, protected, preload]
  103.     -rsrcmerge                # don't replace the output file just add the new resource
  104.     -rsrcname name            # name of code resource
  105.     
  106.     -sharedlibrary            # builds a shared library
  107.     -sortcode                # sort the code segment
  108.     -sharedata                # share the data segment
  109.     -sym off                # don't write symbolic debugging information
  110.     -sym on                 # write symbolic debugging information to .SYM file
  111.     -sym fullpath           # write symbolic debugging information to .SYM file,
  112.                             #    include full path names for source files
  113.     -sym full                # -sym full is treated the same as -sym on
  114.     -t type                 # set output file type; default is 'APPL'
  115.     -term name                # entry point for termination routine (default for this is none)
  116.     -uv num                    # set implementation version number
  117.     -w                        # warnings off
  118.     -weakimport                # next object file will have the weakimport flag set to true
  119.                             # the user must make sure that the next object file is a
  120.                             # library for which this flag works
  121.     -xm c[oderesource]        # generate a code resource.
  122.     -xm e[xecutable]        # generate a application
  123.     -xm l[ibrary]            # generate a library
  124.     -xm s[haredLibrary]        # generate a library
  125. -
  126.